// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using System;
using System.Linq;
using Elastic.Clients.Elasticsearch.Serialization;

namespace Elastic.Clients.Elasticsearch.Cluster;

[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Cluster.Json.ShardStateConverter))]
public enum ShardState
{
	[System.Runtime.Serialization.EnumMember(Value = "ABORTED")]
	Aborted,
	[System.Runtime.Serialization.EnumMember(Value = "FAILED")]
	Failed,
	[System.Runtime.Serialization.EnumMember(Value = "INIT")]
	Init,
	[System.Runtime.Serialization.EnumMember(Value = "MISSING")]
	Missing,
	[System.Runtime.Serialization.EnumMember(Value = "PAUSED_FOR_NODE_REMOVAL")]
	PausedForNodeRemoval,
	[System.Runtime.Serialization.EnumMember(Value = "QUEUED")]
	Queued,
	[System.Runtime.Serialization.EnumMember(Value = "SUCCESS")]
	Success,
	[System.Runtime.Serialization.EnumMember(Value = "WAITING")]
	Waiting
}